Class RedbObjectEditor<TProps>

Assembly: redb.PropsEditor.dll
public class RedbObjectEditor<TProps> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender where TProps : class, new()

Inheritance

Object→ComponentBase→RedbObjectEditor<TProps>

Implements

Properties

IsSaving

Whether save is in progress.

[Parameter]
public bool IsSaving { get; set; }

OnSave

Called when Save button is clicked.

[Parameter]
public EventCallback OnSave { get; set; }

ShowSaveButton

Whether to show the Save button.

[Parameter]
public bool ShowSaveButton { get; set; }

Value

The RedbObject to edit.

[Parameter]
public RedbObject<TProps>? Value { get; set; }

ValueChanged

Called when any value changes.

[Parameter]
public EventCallback<RedbObject<TProps>> ValueChanged { get; set; }

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied .

protected override void BuildRenderTree(RenderTreeBuilder __builder)

OnParametersSet()

Method invoked when the component has received parameters from its parent in

protected override void OnParametersSet()